HFE\Lib\Astra_Target_Rules_Fields D

Total Complexity 277
Dependencies 2
Dependents 2
Total lines 1,607
Lines of code 1,097
Logical lines of code 628
Comment lines 277
Methods 25
Properties 6

Methods 25

Method Rating Maintainability Complexity Lines of code
parse_layout_display_condition()
D
26
57 128
get_posts_by_conditions()
C
33 26 89
same_display_on_notice()
C
35 24 84
generate_target_rule_selector()
B
37 19 68
target_user_role_settings_field()
B
39 15 62
hfe_get_posts_by_query()
A
36 13 85
parse_user_role_condition()
A
47 15 39
get_current_page_type()
A
47 15 35
get_location_selections()
A
38 11 71
admin_styles()
A
27
4 176
get_format_rule_value()
A
48 12 32
target_rule_settings_field()
A
44 9 40
get_current_layout()
A
54 9 19
get_location_by_key()
A
50 8 26
get_meta_option_post()
S
57 7 15
search_only_titles()
S
56 6 16
get_user_by_key()
S
61 5 12
remove_exclusion_rule_posts()
S
61 5 11
remove_user_rule_posts()
S
61 5 11
get_post_target_rule_options()
S
53 3 22
get_post_selection()
S
56 3 18
get_user_selections()
S
54 2 21
get_instance()
S
71 2 6
__construct()
S
70 1 7
initialize_options()
S
77 1 4